package com.goodfox.web.biz.forest.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.goodfox.web.generic.provide.annotation.DbEntity;
import com.goodfox.web.generic.provide.annotation.DbField;

@DbEntity(comment="林权证",table="FOREST_RIGHTS")
public class ForestRights implements Serializable{
	@DbField(comment="林权证ID",column="FST_RIG_ID",pk=true,export=false,javaType="String",dataType="VARCHAR2",required=true,maxLength=50)
	private String fstRigId;

	@DbField(comment="林权证编号",column="RIG_CODE",javaType="String",dataType="VARCHAR2",maxLength=50)
	private String rigCode;

	@DbField(comment="林权证号",column="RIG_NUMBER",javaType="String",dataType="VARCHAR2",maxLength=50)
	private String rigNumber;

	@DbField(comment="单位(个人)",column="UNIT",javaType="String",dataType="VARCHAR2",maxLength=500)
	private String unit;

	@DbField(comment="法定代表人",column="LEGAL",javaType="String",dataType="VARCHAR2",maxLength=100)
	private String legal;

	@DbField(comment="身份证号",column="ID_CARDS",javaType="String",dataType="VARCHAR2",maxLength=50)
	private String idCards;

	@DbField(comment="通讯地址",column="ADDRESS",javaType="String",dataType="VARCHAR2",maxLength=200)
	private String address;

	@DbField(comment="显示顺序",column="SORT",export=false,javaType="Long",dataType="NUMBER",maxLength=22)
	private Long sort;

	@DbField(comment="全部林地列表",export=false)
	private List<Woodland> alWoodlandList;

	@DbField(comment="结果林地列表",javaType="EntityList",subClass=Woodland.class)
	private List<Woodland> rsWoodlandList;

	public String getFstRigId(){
		return this.fstRigId;
	}
	public void setFstRigId(String fstRigId){
		this.fstRigId=fstRigId;
	}

	public String getRigCode(){
		return this.rigCode;
	}
	public void setRigCode(String rigCode){
		this.rigCode=rigCode;
	}

	public String getRigNumber(){
		return this.rigNumber;
	}
	public void setRigNumber(String rigNumber){
		this.rigNumber=rigNumber;
	}

	public String getUnit(){
		return this.unit;
	}
	public void setUnit(String unit){
		this.unit=unit;
	}

	public String getLegal(){
		return this.legal;
	}
	public void setLegal(String legal){
		this.legal=legal;
	}

	public String getIdCards(){
		return this.idCards;
	}
	public void setIdCards(String idCards){
		this.idCards=idCards;
	}

	public String getAddress(){
		return this.address;
	}
	public void setAddress(String address){
		this.address=address;
	}

	public Long getSort(){
		return this.sort;
	}
	public void setSort(Long sort){
		this.sort=sort;
	}
	
	public List<Woodland> getAlWoodlandList() {
		return alWoodlandList;
	}
	public void setAlWoodlandList(List<Woodland> alWoodlandList) {
		this.alWoodlandList = alWoodlandList;
	}
	
	public List<Woodland> getRsWoodlandList() {
		return rsWoodlandList;
	}
	public void setRsWoodlandList(List<Woodland> rsWoodlandList) {
		this.rsWoodlandList = rsWoodlandList;
	}

}